package it.fc.action.users;

import it.fc.action.FcAction;
import it.fc.service.interfaces.IDbService;

import org.apache.log4j.Logger;

public class DeleteUser extends FcAction {

    private static final long serialVersionUID = 6905094170771951823L;
    private static Logger     log              = Logger.getLogger(DeleteUser.class);

    private String            idUser;

    @Override
    public String execute() throws Exception {

        log.debug("Delete user : " + getIdUser());

        IDbService dbManager = getDbService();
       // dbManager.deleteUser(Integer.parseInt(getIdUser()));
        return SUCCESS;
    }

    /* public void setIdUser(String idUser) {
         this.idUser = idUser;
     }

     public String getIdUser() {
         return this.idUser;
     }*/

}
